package com.fubang.pathlearning.pieview;

/**
 * 创建者: YIN
 * 创建时间: 2017/7/2 15:03
 * 电子邮箱: yin_ruimin@foxmail.com
 * 描述:
 */

public class PieData {
    private String name;
    private float value;
    private float percent;
    private int color;
    private float angle;

    public PieData(String name, float value, float percent, int color, int angle) {
        this.name = name;
        this.value = value;
        this.percent = percent;
        this.color = color;
        this.angle = angle;
    }

    public PieData(float value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public float getPercent() {
        return percent;
    }

    public void setPercent(float percent) {
        this.percent = percent;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public float getAngle() {
        return angle;
    }

    public void setAngle(float angle) {
        this.angle = angle;
    }
}
